createprocedure[dbo].[BAEOrderCategoryLoadParent]@OrderCategoryIDas int AS SELECT*FROMOrderCategoryWHEREOrderCategoryID= (SELECTOrderCategoryParentIDFROMOrderCategoryASocJOINOrderCategoryParentLookupASocplON oc.OrderCategoryID=ocpl.OrderCategoryIDWHEREoc.OrderCategoryID=@OrderCategoryID);